﻿using System;
using System.Windows.Input;
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UITesting.WpfControls;

namespace SDWorx.ICTCorp.TestAutomationFramework.WpfApllicationAutomator
{
    public class TAF_WpfWindow : WpfWindow
    {

        // Top level window
        public TAF_WpfWindow(string strName, string strTitle)
        {
            if (strName != "") this.SearchProperties[WpfWindow.PropertyNames.Name] = strName;
            if (strTitle != "") this.WindowTitles.Add(strTitle);
        }
    }
}
